package org.cornland.systemWarning.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hawk Tang
 * @since 2021-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="DataExceptionAlarm对象", description="")
public class DataExceptionAlarm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "井号")
    private String wellId;

    @ApiModelProperty(value = "记录时间")
    private String time;

    @ApiModelProperty(value = "状态 0:未处理 1:已处理")
    private Integer flag;

    @ApiModelProperty(value = "异常类型")
    private Integer type;

    @ApiModelProperty(value = "异常描述")
    private String description;

    @ApiModelProperty(value = "点位")
    private String tag;

    @ApiModelProperty(value = "pi数据异常类型的类型")
    private Integer piType;

    @TableField(exist = false)
    private String dwms;

    @TableField(exist = false)
    private String moreDescription;
}
